package qdu.rg012.ch1_intent_adv;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;

public class Act_return extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_act_return);
        Intent it = new Intent();
        it.putExtra("returnmsg",13);
        setResult(789, it);
    }
}